
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>string、number类型</title>
<script type="text/javascript">
    var msg = confirm("你学过Javascript吗？");
    if (msg) {
            window.alert("学过了，那还需要努力!");
    } else {
            alert("没学过，那就开始学吧！");
    }
</script>

        
	<body>
	</body>
</html>